using Godot;
using System;
using Godot.Collections;
using System.Security.Cryptography.X509Certificates;

public partial class CharacterData : Resource
{
    
    [Export]
    public string name = "未命名";
    [Export]
    public string state;
    [Export]
    public bool alive = true;

    [Export]
    public int sight = 0;//视野长度，角度固定为120°
    [Export]
    public int MAX_HEALTH;
    [Export]
    public int MAX_SPEED;
    [Export]
    public int ACCELERATION;//加速度

    [Export]
    public int health; 
    [Export]
    public int speed;
    [Export]
    public int attack;
    [Export]
    public int tough;//韧性，复活或治愈时才恢复

    [Export]
    public Dictionary<string, bool> tasksList = new Dictionary<string, bool>();//角色（npc）身上的任务是否可接取，只用于激活任务链
    [Export]
    public string textkey = "";//对话标签，根据任务完成与接取情况选择对话
    [Export]
    public double waitsec = 0.05;//动作延迟时间，秒
    [Export]
    public double attacksec = 0.1;
}
